﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Sablon.Master" AutoEventWireup="true" CodeBehind="hesapdefteri.aspx.cs" Inherits="OnlineDovizOtomasyonu.hesapdefteri" %>
<%@ Register assembly="DevExpress.Web.v12.1, Version=12.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxRoundPanel" tagprefix="dx" %>
<%@ Register assembly="DevExpress.Web.v12.1, Version=12.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxPanel" tagprefix="dx" %>
<%@ Register assembly="DevExpress.Web.ASPxEditors.v12.1, Version=12.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxEditors" tagprefix="dx" %>
<%@ Register assembly="DevExpress.Web.ASPxGridView.v12.1, Version=12.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxGridView" tagprefix="dx" %>
<%@ Register assembly="DevExpress.Web.ASPxHtmlEditor.v12.1, Version=12.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxHtmlEditor" tagprefix="dx" %>
<%@ Register assembly="DevExpress.Web.ASPxSpellChecker.v12.1, Version=12.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxSpellChecker" tagprefix="dx" %>
<%@ Register assembly="DevExpress.Web.ASPxGauges.v12.1, Version=12.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxGauges" tagprefix="dx" %>
<%@ Register assembly="DevExpress.Web.ASPxGauges.v12.1, Version=12.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxGauges.Gauges" tagprefix="dx" %>
<%@ Register assembly="DevExpress.Web.ASPxGauges.v12.1, Version=12.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxGauges.Gauges.Linear" tagprefix="dx" %>
<%@ Register assembly="DevExpress.Web.ASPxGauges.v12.1, Version=12.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxGauges.Gauges.Circular" tagprefix="dx" %>
<%@ Register assembly="DevExpress.Web.ASPxGauges.v12.1, Version=12.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxGauges.Gauges.State" tagprefix="dx" %>
<%@ Register assembly="DevExpress.Web.ASPxGauges.v12.1, Version=12.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxGauges.Gauges.Digital" tagprefix="dx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style1
        {
            width: 100%;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table cellpadding="0" cellspacing="0" class="style1">
        <tr>
            <td>
                <dx:ASPxRoundPanel ID="ASPxRoundPanel2" runat="server" 
                    HeaderText="Hesap İşleme Paneli" Theme="Aqua" Width="100%" 
                    ClientInstanceName="ASPxRoundPanel2">
                    <PanelCollection>
                    <dx:PanelContent runat="server" SupportsDisabledAttribute="True">
                        <table cellpadding="0" cellspacing="0" class="style1">
        <tr>
            <td width="265" valign="top">
                <table cellpadding="0" cellspacing="0" class="style1">
                    <tr>
                        <td align="left" valign="top">
                            <dx:ASPxRoundPanel ID="PanelMusteriSecim" runat="server" Width="100%" 
                                Theme="Aqua" HeaderText="Müşteri Paneli" 
                                ClientInstanceName="PanelMusteriSecim">
                                <PanelCollection>
<dx:PanelContent runat="server" SupportsDisabledAttribute="True">
<dx:ASPxPanel ID="MusteriSecimPaneli" runat="server" Theme="Aqua" Width="100%">
                                <PanelCollection>
                                    <dx:PanelContent runat="server" SupportsDisabledAttribute="True">
                                        <table cellpadding="0" cellspacing="0" class="style1">
                                            <tr>
                                                <td height="25" width="75">
                                                    Group</td>
                                                <td width="5">
                                                    :</td>
                                                <td>
                                                    <dx:ASPxComboBox ID="txtMusteriGroup" runat="server" 
                                                        DataSourceID="sdmusterigroup" DropDownStyle="DropDown" 
                                                        EnableIncrementalFiltering="True" IncrementalFilteringMode="StartsWith" 
                                                        LoadingPanelText="Yükleniyor..." TextField="ADI" 
                                                        TextFormatString="{1}" Theme="Aqua" ValueField="ID" Width="100px" 
                                                        AutoPostBack="True" 
                                                        OnSelectedIndexChanged="txtMusteriGroup_SelectedIndexChanged">
                                                        <Columns>
                                                            <dx:ListBoxColumn Caption="Group Kodu" FieldName="KODU" Width="100px" />
                                                            <dx:ListBoxColumn Caption="Group Adı" FieldName="ADI" Width="200px" />
                                                        </Columns>
                                                        <ValidationSettings ErrorDisplayMode="ImageWithTooltip">
                                                            <RequiredField ErrorText="Müşteri Gurubunu Seçiniz!" IsRequired="True" />
<RequiredField IsRequired="True" ErrorText="M&#252;şteri Gurubunu Se&#231;iniz!"></RequiredField>
                                                        </ValidationSettings>
                                                    </dx:ASPxComboBox>
                                                    <asp:SqlDataSource ID="sdmusterigroup" runat="server" 
                                                        ConnectionString="<%$ ConnectionStrings:webingdovizlistelericinbaglanti %>" 
                                                        SelectCommand="SELECT [ID], [KODU], [ADI] FROM [WEBINGDOVIZ_TBLGROUP] ORDER BY [ID]">
                                                    </asp:SqlDataSource>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td height="25" width="75">
                                                    Müşteri</td>
                                                <td>
                                                    :</td>
                                                <td width="100%">
                                                    <dx:ASPxComboBox ID="txtMusteriKodu" runat="server" 
                                                        LoadingPanelText="Yükleniyor..." Theme="Aqua" Width="100%" 
                                                        DataSourceID="sdMusteriBilgileri" TextFormatString="{1}" ValueField="ID"
                                                        EnableIncrementalFiltering="True" IncrementalFilteringMode="StartsWith" 
                                                        TabIndex="1" OnLoad="txtMusteriKodu_Load" AutoPostBack="True" 
                                                        OnSelectedIndexChanged="txtMusteriKodu_SelectedIndexChanged">
                                                        <Columns>
                                                            <dx:ListBoxColumn Caption="Kodu" FieldName="KODU" Width="75px" />
                                                            <dx:ListBoxColumn Caption="Müşteri Adı" FieldName="ADI" Width="150px" />
                                                        </Columns>
                                                        <ValidationSettings ErrorDisplayMode="ImageWithTooltip">
                                                            <RequiredField ErrorText="Müşteri Seçiniz!" IsRequired="True" />
<RequiredField IsRequired="True" ErrorText="M&#252;şteri Se&#231;iniz!"></RequiredField>
                                                        </ValidationSettings>
                                                    </dx:ASPxComboBox>
                                                    <asp:SqlDataSource ID="sdMusteriBilgileri" runat="server" 
                                                        ConnectionString="<%$ ConnectionStrings:webingdovizlistelericinbaglanti %>" 
                                                        SelectCommand="SELECT [ID], [KODU], [ADI], [GRUP] FROM [WEBINGDOVIZ_TBLCARI] WHERE ([GRUP] = @GRUP) ORDER BY [ADI]">
                                                        <SelectParameters>
                                                            <asp:ControlParameter ControlID="txtMusteriGroup" Name="GRUP" 
                                                                PropertyName="Value" Type="Int32" />
                                                        </SelectParameters>
                                                    </asp:SqlDataSource>
                                                </td>
                                            </tr>
                                        </table>
                                    </dx:PanelContent>
                                </PanelCollection>
                            </dx:ASPxPanel>
</dx:PanelContent>
</PanelCollection>
                            </dx:ASPxRoundPanel>
                            
                        </td>
                    </tr>
                    <tr>
                        <td align="left" valign="top">
                            
                                        <dx:ASPxCalendar ID="txtTarih" runat="server" ShowClearButton="False" 
                                            Theme="Aqua" Width="100%" TabIndex="13" TodayButtonText="Bugün" 
                                            AutoPostBack="True" OnSelectionChanged="txtTarih_SelectionChanged" 
                                            OnValueChanged="txtTarih_ValueChanged">
                                            <SettingsLoadingPanel Text="Yükleniyor..." />
<SettingsLoadingPanel Text="Y&#252;kleniyor..."></SettingsLoadingPanel>

                                            <ValidationSettings ErrorDisplayMode="ImageWithTooltip" 
                                                ErrorTextPosition="Bottom">
                                                <RequiredField ErrorText="Tarih Seçiniz!" IsRequired="True" />
<RequiredField IsRequired="True" ErrorText="Tarih Se&#231;iniz!"></RequiredField>
                                            </ValidationSettings>
                                        </dx:ASPxCalendar>
                                    
                        </td>
                    </tr>
                    <tr>
                    <td height="25" align="center">
                        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                            <ContentTemplate>
                                <dx:ASPxTextBox ID="txtSaat" runat="server" Theme="Aqua" Width="100%" 
                                    Font-Size="Medium" HorizontalAlign="Center">
                                </dx:ASPxTextBox>
                                <dx:ASPxDateEdit ID="ASPxDateEdit1" runat="server" EditFormat="DateTime" 
                                    Visible="False">
                                </dx:ASPxDateEdit>
                                <asp:Timer ID="Timer1" runat="server" Interval="1000" ontick="Timer1_Tick">
                                </asp:Timer>
                            </ContentTemplate>
                        </asp:UpdatePanel>
                    </td>
                    </tr>
                </table>
            </td>
            <td width="5"></td>
            <td align="left" valign="top">
                <table cellpadding="0" cellspacing="0" class="style1">
                    <tr>
                        <td align="left" valign="top">
                            
                                    <dx:ASPxPanel ID="paneldegergirisi" runat="server" Theme="Aqua" Width="100%">
                                <PanelCollection>
                                    <dx:PanelContent ID="PanelContent1" runat="server" SupportsDisabledAttribute="True">
                                        <table cellpadding="0" cellspacing="0" class="style1">
                                            <tr>
                                                <td align="left" valign="top">
                                                    <dx:ASPxRoundPanel ID="PanelDovizGirisi" runat="server" Width="100%" 
                                                        Theme="Aqua" HeaderText="Girdi Paneli" 
                                                        ClientInstanceName="PanelDovizGirisi">
                                                        <PanelCollection>
                                                            <dx:PanelContent runat="server" SupportsDisabledAttribute="True">
                                                            <asp:UpdatePanel ID="UpdatePanelGenel" runat="server" UpdateMode="Conditional">
                                                            <ContentTemplate>
                                                            <table cellpadding="0" cellspacing="0" class="style1">
                                                        <tr>
                                                            <td align="center" height="25" width="10%">
                                                                &nbsp;</td>
                                                            <td align="center" width="16%">
                                                                Türk Lirası</td>
                                                            <td align="center" width="16%">
                                                                Dolar</td>
                                                            <td align="center" width="16%">
                                                                Euro</td>
                                                            <td align="center" width="16%">
                                                                Riyal</td>
                                                            <td align="center" width="16%">
                                                                Suriye L.</td>
                                                        </tr>
                                                        <tr>
                                                            <td height="25">
                                                                Miktar</td>
                                                            <td>
                                                                <dx:ASPxTextBox ID="txtTL" runat="server" Height="20px" Theme="Aqua" 
                                                                    Width="100%" TabIndex="3" NullText="0,00">
                                                                </dx:ASPxTextBox>
                                                            </td>
                                                            <td>
                                                                <dx:ASPxTextBox ID="txtUSD" runat="server" Height="20px" Theme="Aqua" 
                                                                    Width="100%" TabIndex="4" NullText="0,00">
                                                                </dx:ASPxTextBox>
                                                            </td>
                                                            <td>
                                                                <dx:ASPxTextBox ID="txtEURO" runat="server" Height="20px" Theme="Aqua" 
                                                                    Width="100%" TabIndex="5" NullText="0,00">
                                                                </dx:ASPxTextBox>
                                                            </td>
                                                            <td>
                                                                <dx:ASPxTextBox ID="txtSAR" runat="server" Height="20px" Theme="Aqua" 
                                                                    Width="100%" TabIndex="6" NullText="0,00">
                                                                </dx:ASPxTextBox>
                                                            </td>
                                                            <td>
                                                                <dx:ASPxTextBox ID="txtSRY" runat="server" Height="20px" Theme="Aqua" 
                                                                    Width="100%" TabIndex="7" NullText="0,000">
                                                                </dx:ASPxTextBox>
                                                            </td>
                                                        </tr>
                                                                     <tr>
                                                                         <td height="25">
                                                                             &nbsp;</td>
                                                                         <td align="left" colspan="5" valign="top">
                                                                             <dx:ASPxMemo ID="txtAciklama" runat="server" Height="40px" 
                                                                                 NullText="Veri Açıklaması Giriniz." TabIndex="7" Theme="Aqua" Width="100%">
                                                                             </dx:ASPxMemo>
                                                                         </td>
                                                                     </tr>
                                                        <tr>
                                                            <td height="25">
                                                                &nbsp;</td>
                                                            <td align="center" colspan="5">
                                                                <table cellpadding="0" cellspacing="0" class="style1">
                                <tr>
                                    <td align="left" width="100">
                                        <dx:ASPxButton ID="btnKaydet" runat="server" Text="Kaydet" Theme="Aqua" 
                                            Width="100px" HorizontalAlign="Left" TabIndex="8" 
                                            OnClick="btnKaydet_Click" 
                                            ClientInstanceName="btnKaydet">
                                            <Image Url="~/images/icon/kaydet.png">
                                            </Image>
                                        </dx:ASPxButton>
                                    </td>
                                    <td align="left" width="100">
                                        <dx:ASPxButton ID="btnYenile" runat="server" HorizontalAlign="Center" 
                                            onclick="btnYenile_Click" TabIndex="10" Text="Yenile" Theme="Aqua" 
                                            Width="100px">
                                            <Image Url="~/images/icon/yenile.png">
                                            </Image>
                                        </dx:ASPxButton>
                                    </td>
                                    <td align="left" width="100">
                                        <dx:ASPxButton ID="btnTemizle" runat="server" Text="Temizle" Theme="Aqua" 
                                            Width="100px" HorizontalAlign="Left" TabIndex="11" 
                                            onclick="btnTemizle_Click">
                                            <Image Url="~/images/icon/temizle.png">
                                            </Image>
                                        </dx:ASPxButton>
                                    </td>
                                    <td align="left" width="100">
                                        <dx:ASPxButton ID="btnGenelAyrinti" runat="server" Text="Ayrıntı Göster" 
                                            Theme="Aqua" Width="120px" TabIndex="12" PostBackUrl="~/genelayrinti.aspx">
                                            <Image Url="~/images/icon/ayrintikucuk.png">
                                            </Image>
                                        </dx:ASPxButton>
                                    </td>
                                    <td align="left" width="100%">
                                        &nbsp;</td>
                                </tr>
                                                                    <tr>
                                                                        <td align="left" colspan="4">
                                                                       
                                                                        </td>
                                                                        <td align="left" width="100%">
                                                                            &nbsp;</td>
                                                                    </tr>
                            </table>
                                                                </td>
                                                        </tr>
                                                    </table>
                                                            <table cellpadding="0" cellspacing="0" class="style1">
                                            <tr>
                                                <td align="left" valign="top" width="50%">
                                                    <dx:ASPxGridView ID="ListeAlacak" runat="server" Theme="Aqua" Width="100%" 
                                                        TabIndex="14" AutoGenerateColumns="False" DataSourceID="sdAlacakVeri" 
                                                        KeyFieldName="ID" 
                                                        OnBeforePerformDataSelect="ListeAlacak_BeforePerformDataSelect" 
                                                        onhtmldatacellprepared="ListeAlacak_HtmlDataCellPrepared" 
                                                        onhtmlrowprepared="ListeAlacak_HtmlRowPrepared" 
                                                        ClientInstanceName="ListeAlacak">
                                                        <TotalSummary>
                                                            <dx:ASPxSummaryItem ShowInColumn="TL" SummaryType="Sum" />
                                                        </TotalSummary>
                                                        <GroupSummary>
                                                            <dx:ASPxSummaryItem />
                                                        </GroupSummary>
                                                        <Columns>
                                                            <dx:GridViewDataTextColumn FieldName="ID" ReadOnly="True" Visible="False" 
                                                                VisibleIndex="0">
                                                                <EditFormSettings Visible="False" />
                                                            </dx:GridViewDataTextColumn>
                                                            <dx:GridViewDataTextColumn FieldName="MUSTERIKODU" Visible="False" 
                                                                VisibleIndex="1">
                                                            </dx:GridViewDataTextColumn>
                                                            <dx:GridViewDataDateColumn FieldName="TARIH" 
                                                                VisibleIndex="2">
                                                            </dx:GridViewDataDateColumn>
                                                            <dx:GridViewDataTextColumn FieldName="TIPI" 
                                                                Visible="False" VisibleIndex="3">
                                                            </dx:GridViewDataTextColumn>
                                                            <dx:GridViewDataTextColumn FieldName="TL" 
                                                                VisibleIndex="4" Name="TL">
                                                            </dx:GridViewDataTextColumn>
                                                            <dx:GridViewDataTextColumn FieldName="USD" 
                                                                VisibleIndex="5" Name="USD">
                                                            </dx:GridViewDataTextColumn>
                                                            <dx:GridViewDataTextColumn FieldName="EURO" 
                                                                VisibleIndex="6" Name="EURO">
                                                            </dx:GridViewDataTextColumn>
                                                            <dx:GridViewDataTextColumn FieldName="SAR" 
                                                                VisibleIndex="7" Name="SAR">
                                                            </dx:GridViewDataTextColumn>
                                                            <dx:GridViewDataTextColumn FieldName="SRY" 
                                                                VisibleIndex="8" Name="SRY">
                                                            </dx:GridViewDataTextColumn>
                                                            <dx:GridViewDataTextColumn FieldName="ACIKLAMA" 
                                                                VisibleIndex="9" Visible="False">
                                                            </dx:GridViewDataTextColumn>
                                                            <dx:GridViewDataTextColumn FieldName="KESIM" 
                                                                Visible="False" VisibleIndex="10">
                                                            </dx:GridViewDataTextColumn>
                                                        </Columns>
                                                        <SettingsBehavior AllowFocusedRow="True" />
                                                        <SettingsPager PageSize="5" RenderMode="Lightweight">
                                                            <Summary AllPagesText="Sayfalar: {0} - {1} ({2} Kayıt)" 
                                                                Text="Sayfa {0} İle {1} ({2} Kayıt)" />
                                                        </SettingsPager>
                                                        <SettingsText EmptyDataRow="Alacak Verisi Bulunamadı!" 
                                                            EmptyHeaders="Kolon Sürükleyin..." 
                                                            GroupPanel="Guruplma Yapmak İstediğiniz Kolonu Sürükleyiniz." />
                                                        <SettingsLoadingPanel Text="Lütfen Bekleyin..." />
                                                        <Styles>
                                                            <SelectedRow BackColor="#99CCFF">
                                                            </SelectedRow>
                                                            <FocusedRow BackColor="#99CCFF">
                                                            </FocusedRow>
                                                        </Styles>
                                                        <StylesEditors>
                                                            <Focused BackColor="#FF9900">
                                                            </Focused>
                                                        </StylesEditors>
                                                    </dx:ASPxGridView>
                                                    
                                                   <asp:SqlDataSource ID="sdAlacakVeri" runat="server" 
                                                        ConnectionString="<%$ ConnectionStrings:webingdovizlistelericinbaglanti %>" 
                                                        SelectCommand="SELECT * FROM [TBLDEFTER] WHERE (([MUSTERIKODU] = @MUSTERIKODU) AND ([TIPI] = @TIPI) AND ([KESIM] = @KESIM)) ORDER BY [ID] DESC">
                                                        <SelectParameters>
                                                            <asp:SessionParameter DefaultValue="-1" Name="MUSTERIKODU" 
                                                                SessionField="webingMK" Type="Int32" />
                                                            <asp:Parameter DefaultValue="A" Name="TIPI" Type="String" />
                                                            <asp:Parameter DefaultValue="0" Name="KESIM" Type="Int32" />
                                                        </SelectParameters>
                                                    </asp:SqlDataSource>
                                                </td>
                                                <td align="left" valign="top" width="50%">
                                                    <dx:ASPxGridView ID="ListeVerecek" runat="server" Theme="Aqua" Width="100%" 
                                                        TabIndex="14" AutoGenerateColumns="False" DataSourceID="sdVerecekVeri" 
                                                        KeyFieldName="ID">
                                                        <Columns>
                                                            <dx:GridViewDataTextColumn FieldName="ID" ReadOnly="True" Visible="False" 
                                                                VisibleIndex="0">
                                                                <EditFormSettings Visible="False" />
                                                            </dx:GridViewDataTextColumn>
                                                            <dx:GridViewDataTextColumn FieldName="MUSTERIKODU" Visible="False" 
                                                                VisibleIndex="1">
                                                            </dx:GridViewDataTextColumn>
                                                            <dx:GridViewDataDateColumn FieldName="TARIH" VisibleIndex="2">
                                                            </dx:GridViewDataDateColumn>
                                                            <dx:GridViewDataTextColumn FieldName="TIPI" Visible="False" VisibleIndex="3">
                                                            </dx:GridViewDataTextColumn>
                                                            <dx:GridViewDataTextColumn FieldName="TL" Name="TL" VisibleIndex="4">
                                                            </dx:GridViewDataTextColumn>
                                                            <dx:GridViewDataTextColumn FieldName="USD" Name="USD" VisibleIndex="5">
                                                            </dx:GridViewDataTextColumn>
                                                            <dx:GridViewDataTextColumn FieldName="EURO" Name="EURO" VisibleIndex="6">
                                                            </dx:GridViewDataTextColumn>
                                                            <dx:GridViewDataTextColumn FieldName="SAR" Name="SAR" VisibleIndex="7">
                                                            </dx:GridViewDataTextColumn>
                                                            <dx:GridViewDataTextColumn FieldName="SRY" Name="SRY" VisibleIndex="8">
                                                            </dx:GridViewDataTextColumn>
                                                            <dx:GridViewDataTextColumn FieldName="ACIKLAMA" Visible="False" 
                                                                VisibleIndex="9">
                                                            </dx:GridViewDataTextColumn>
                                                            <dx:GridViewDataTextColumn FieldName="KESIM" Visible="False" VisibleIndex="10">
                                                            </dx:GridViewDataTextColumn>
                                                        </Columns>
                                                        <SettingsBehavior AllowFocusedRow="True" />
                                                        <SettingsPager PageSize="5" RenderMode="Lightweight">
                                                            <Summary AllPagesText="Sayfalar: {0} - {1} ({2} Kayıt)" 
                                                                Text="Sayfa {0} İle {1} ({2} Kayıt)" />
                                                        </SettingsPager>
                                                        <SettingsText EmptyDataRow="Verecek Verisi Bulunamadı!" 
                                                            EmptyHeaders="Kolon Sürükleyin..." 
                                                            GroupPanel="Guruplma Yapmak İstediğiniz Kolonu Sürükleyiniz." />
                                                        <SettingsLoadingPanel Text="Lütfen Bekleyin..." />
                                                        <Styles>
                                                            <SelectedRow BackColor="#99CCFF">
                                                            </SelectedRow>
                                                            <FocusedRow BackColor="#99CCFF">
                                                            </FocusedRow>
                                                        </Styles>
                                                        <StylesEditors>
                                                            <Focused BackColor="#FF9900">
                                                            </Focused>
                                                        </StylesEditors>
                                                    </dx:ASPxGridView>
                                                    <asp:SqlDataSource ID="sdVerecekVeri" runat="server" 
                                                        ConnectionString="<%$ ConnectionStrings:webingdovizlistelericinbaglanti %>" 
                                                        SelectCommand="SELECT * FROM [TBLDEFTER] WHERE (([MUSTERIKODU] = @MUSTERIKODU) AND ([TIPI] = @TIPI) AND ([KESIM] = @KESIM))">
                                                        <SelectParameters>
                                                            <asp:SessionParameter DefaultValue="-1" Name="MUSTERIKODU" 
                                                                SessionField="webingMK" Type="Int32" />
                                                            <asp:Parameter DefaultValue="V" Name="TIPI" Type="String" />
                                                            <asp:Parameter DefaultValue="0" Name="KESIM" Type="Int32" />
                                                        </SelectParameters>
                                                    </asp:SqlDataSource>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    <table cellpadding="0" cellspacing="0" class="style1">
                                                        <tr>
                                                            <td align="left" valign="top" width="100%" >
                                                                <dx:ASPxButton ID="btnAlacakAyrinti" runat="server" HorizontalAlign="Left" 
                                                                    Text="Alacak Ayrıntısı" Theme="Aqua" Width="100%" 
                                                                    ToolTip="Alacak Verileri Ayrıntı Sayfası" TabIndex="16" 
                                                                    PostBackUrl="~/ayrintialacak.aspx">
                                                                    <Image Url="~/images/icon/ayrinti.png">
                                                                    </Image>
                                                                </dx:ASPxButton>
                                                            </td>
                                                            <td align="left" valign="top" width="24">
                                                                <dx:ASPxButton ID="btnAlacakPdf" runat="server" HorizontalAlign="Left" 
                                                                    Theme="Aqua" Width="24px" TabIndex="17">
                                                                    <Image Url="~/images/icon/acrobat.png">
                                                                    </Image>
                                                                </dx:ASPxButton>
                                                            </td>
                                                            <td align="left" valign="top" width="24">
                                                                <dx:ASPxButton ID="btnAlacakExcel" runat="server" HorizontalAlign="Left" 
                                                                    Theme="Aqua" Width="24px" TabIndex="18">
                                                                    <Image Url="~/images/icon/excell.png">
                                                                    </Image>
                                                                </dx:ASPxButton>
                                                            </td>
                                                            <td align="left" valign="top" width="24">
                                                                <dx:ASPxButton ID="btnAlacakMail" runat="server" HorizontalAlign="Left" 
                                                                    Theme="Aqua" Width="24px" TabIndex="19">
                                                                    <Image Url="~/images/icon/ymail.png">
                                                                    </Image>
                                                                </dx:ASPxButton>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </td>
                                                <td align="left" valign="top">
                                                        <table cellpadding="0" cellspacing="0" class="style1">
                                                        <tr>
                                                            <td align="left" valign="top" width="100%" >
                                                                <dx:ASPxButton ID="btnVerecekAyrinti" runat="server" HorizontalAlign="Left" 
                                                                    Text="Verecek Ayrıntısı" Theme="Aqua" Width="100%" 
                                                                    ToolTip="Verecek Verileri Ayrıntı Sayfası" TabIndex="20" 
                                                                    PostBackUrl="~/ayrintiverecek.aspx">
                                                                    <Image Url="~/images/icon/ayrinti.png">
                                                                    </Image>
                                                                </dx:ASPxButton>
                                                            </td>
                                                            <td align="left" valign="top" width="24">
                                                                <dx:ASPxButton ID="btnVerecekPdf" runat="server" HorizontalAlign="Left" 
                                                                    Theme="Aqua" Width="24px" TabIndex="21">
                                                                    <Image Url="~/images/icon/acrobat.png">
                                                                    </Image>
                                                                </dx:ASPxButton>
                                                            </td>
                                                            <td align="left" valign="top" width="24">
                                                                <dx:ASPxButton ID="btnVerecekExcel" runat="server" HorizontalAlign="Left" 
                                                                    Theme="Aqua" Width="24px" TabIndex="22">
                                                                    <Image Url="~/images/icon/excell.png">
                                                                    </Image>
                                                                </dx:ASPxButton>
                                                            </td>
                                                            <td align="left" valign="top" width="24">
                                                                <dx:ASPxButton ID="btnVerecekMail" runat="server" HorizontalAlign="Left" 
                                                                    Theme="Aqua" Width="24px" TabIndex="23">
                                                                    <Image Url="~/images/icon/ymail.png">
                                                                    </Image>
                                                                </dx:ASPxButton>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </td>
                                            </tr>
                                        </table>
                                                            </ContentTemplate>
                                                                <Triggers>
                                                                    <asp:PostBackTrigger ControlID="btnKaydet" />
                                                                    <asp:AsyncPostBackTrigger ControlID="btnYenile" EventName="Click" />
                                                                </Triggers>
                                                            </asp:UpdatePanel>
                                                            </dx:PanelContent>
                                                        </PanelCollection>
                                                    </dx:ASPxRoundPanel>
                                                   
                                                </td>
                                            </tr>
                                        </table>
                                    </dx:PanelContent>
                                </PanelCollection>
                            </dx:ASPxPanel>
                               
                        </td>
                    </tr>
                </table>
            </td>

            <td width="5"></td>

            <td width="5" valign="top">
            
                <table cellpadding="0" cellspacing="0" width="150px">
                    <tr>
                        <td valign="top">
                            <dx:ASPxRoundPanel ID="PnlGirisTipi" runat="server" Width="150px" 
                                HeaderText="Giriş Tipi" Theme="Aqua">
                                <PanelCollection>
<dx:PanelContent runat="server" SupportsDisabledAttribute="True">
<dx:ASPxRadioButtonList ID="rdoSecim" runat="server" 
                                EnableTheming="True" Height="20px" 
        RepeatDirection="Horizontal" Theme="Aqua" Width="150px" 
        TabIndex="2" SelectedIndex="0">
                                <Items>
                                    <dx:ListEditItem Text="Alacak" Value="A" Selected="True" />
                                    <dx:ListEditItem Text="Verecek" Value="V" />
                                </Items>
                                <ValidationSettings ErrorTextPosition="Bottom">
                                    <RequiredField ErrorText="Giriş tipi Seçiniz!" IsRequired="True" />
<RequiredField IsRequired="True" ErrorText="Giriş tipi Se&#231;iniz!"></RequiredField>
                                </ValidationSettings>
                            </dx:ASPxRadioButtonList>
</dx:PanelContent>
</PanelCollection>
                            </dx:ASPxRoundPanel>
                            
                        </td>
                    </tr>
                    <tr>
                        <td align="left" valign="top">
                            <dx:ASPxRoundPanel ID="PnlToplam" runat="server" HeaderText="Genel Hesap" 
                                Theme="Aqua" Width="200px">
                                <PanelCollection>
                                    <dx:PanelContent runat="server" SupportsDisabledAttribute="True">
                                        <table cellpadding="0" cellspacing="0" class="style1">
                                            <tr>
                                                <td>
                                                    Toplam TL</td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    <dx:ASPxTextBox ID="txtTTl" runat="server" Theme="iOS" Width="100%" 
                                                        TabIndex="24" Text="0,00">
                                                    </dx:ASPxTextBox>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    Toplam USD</td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    <dx:ASPxTextBox ID="txtTUSD" runat="server" Theme="iOS" Width="100%" 
                                                        TabIndex="25" Text="0,00">
                                                    </dx:ASPxTextBox>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    Toplam EURO</td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    <dx:ASPxTextBox ID="txtTEURO" runat="server" Theme="iOS" Width="100%" 
                                                        TabIndex="26" Text="0,00">
                                                    </dx:ASPxTextBox>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    Toplam SAR</td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    <dx:ASPxTextBox ID="txtTSAR" runat="server" Theme="iOS" Width="100%" 
                                                        TabIndex="27" Text="0,00">
                                                    </dx:ASPxTextBox>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    Toplam SRY</td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    <dx:ASPxTextBox ID="txtTSRY" runat="server" Theme="iOS" Width="100%" 
                                                        TabIndex="28" Text="0,00">
                                                    </dx:ASPxTextBox>
                                                </td>
                                            </tr>
                                        </table>
                                    </dx:PanelContent>
                                </PanelCollection>
                            </dx:ASPxRoundPanel>
                        </td>
                    </tr>
                </table>
            
            </td>
        </tr>
    </table>
                    </dx:PanelContent>
                    </PanelCollection>
                </dx:ASPxRoundPanel>
            </td>
        </tr>
    </table>
</asp:Content>
